package com.example.demo.mapper;

import com.example.demo.entity.DocumentGroupAuthority;
import com.example.demo.entity.DocumentGroupAuthorityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DocumentGroupAuthorityMapper {
    long countByExample(DocumentGroupAuthorityExample example);

    int deleteByExample(DocumentGroupAuthorityExample example);

    int deleteByPrimaryKey(Integer docuUserAuthId);

    int insert(DocumentGroupAuthority record);

    int insertSelective(DocumentGroupAuthority record);

    List<DocumentGroupAuthority> selectByExample(DocumentGroupAuthorityExample example);

    DocumentGroupAuthority selectByPrimaryKey(Integer docuUserAuthId);

    int updateByExampleSelective(@Param("record") DocumentGroupAuthority record, @Param("example") DocumentGroupAuthorityExample example);

    int updateByExample(@Param("record") DocumentGroupAuthority record, @Param("example") DocumentGroupAuthorityExample example);

    int updateByPrimaryKeySelective(DocumentGroupAuthority record);

    int updateByPrimaryKey(DocumentGroupAuthority record);
}